package com.alibaba.yinan.domain.common.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

/**
 * @ClassName BaseEvent
 * @Author mengke
 * @create 2025/8/4 02:28
 * @Description
 */
@Getter
public abstract class BaseEvent<T> extends ApplicationEvent {

    private final T payload;

    protected BaseEvent(Object source, T payload) {
        super(source);
        this.payload = payload;
    }
}
